package com.feng.security.dsa.comon;

import java.io.Serializable;

//import org.apache.commons.lang.builder.ToStringBuilder;

public class SignatureResult implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String privateKey;
	private String publicKey;
	private String sign;
	private String errorMessage;
	private boolean success;
	private String signURL;

	public String getSignURL() {
		return signURL;
	}

	public void setSignURL(String signURL) {
		this.signURL = signURL;
	}

	public String getPrivateKey() {
		return privateKey;
	}

	public void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}

	public String getPublicKey() {
		return publicKey;
	}

	public void setPublicKey(String publicKey) {
		this.publicKey = publicKey;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String toString() {
		return this.toString();
		//return ToStringBuilder.reflectionToString(this);
	}
}
